import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
(function shieldConsole () {
  if (process.env.NODE_ENV == "production") {
    Reflect.ownKeys(console).map(key => {
      if (typeof console[key] == "function") {
        console[key] = () => { }
      }
    })
  }
  return
})()
Vue.config.productionTip = false
// Vue.prototype.baseURL = '//1.15.144.141:8081'
Vue.prototype.baseURL = 'https://luoxiaobu.site/api'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

const bus = new Vue()
export default bus
